package com.bw.msg.mvvm.view.fragment;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bw.msg.BR;
import com.bw.msg.R;
import com.bw.msg.databinding.FragmentMsgBinding;
import com.bw.msg.mvvm.viewmodel.Msgviewmodel;
import com.bw.mvvm_common.mvvm.view.BaseFragment;
@Route(path = "/view/fragment/MsgFragment")
public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/19 0019 上午 8:58
 *
 */
class MsgFragment extends BaseFragment <FragmentMsgBinding, Msgviewmodel> {
    @Override
    public int bindLayout() {
        return R.layout.fragment_msg;
    }

    @Override
    public int initVerable() {
        return BR.vm;
    }

    @Override
    public void onResume() {
        super.onResume();
        vm.requestMsg();
    }
}
